const mongoose = require('mongoose');

const url = 'mongodb://47.102.112.72:27017/newtest';
const config = {
    useNewUrlParser:true,
    useCreateIndex:true,
    autoIndex: false
}

mongoose.connect(url,config);

module.exports = mongoose;